package com.alks.entity.data.entity;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author:YL
 * @create: 2023-08-29 11:09
 * @Description: 生产动态表计划日期，和欠数修改
 */
@Data
@NoArgsConstructor
@TableName(value = "PC_PROD_STATUS")
public class PcProdStatus {

    @TableField("ORDER_ID")
    @ApiModelProperty(value = "订单号")
    private String lotNo;

    @TableField("CUSTOM_TYPE")
    @ApiModelProperty(value = "品牌")
    private String brand;

    @TableField("SHOE_NAME")
    @ApiModelProperty(value = "工厂货号")
    private String style;

    @TableField("COLOR")
    @ApiModelProperty(value = "颜色")
    private String color;

    @TableField("SEASON_TYPE")
    @ApiModelProperty(value = "季节")
    private String seasonType;

    @TableField("LAST_NO")
    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @TableField("MOLD_NO")
    @ApiModelProperty(value = "大底厂商")
    private String moldNo;

    @TableField("SIZE_NO")
    @ApiModelProperty(value = "号码")
    private String sizeNo;

    @TableField("ORDER_QTY")
    @ApiModelProperty(value = "数量")
    private BigDecimal orderQty;

    @TableField("ORDER_DATE")
    @ApiModelProperty(value = "下单日期")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime orderDate;

    @TableField("DELIVERY_DATE")
    @ApiModelProperty(value = "客户交期")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)

    private LocalDateTime deliveryDate;

    @TableField("SAMPLE_PERSON")
    @ApiModelProperty(value = "版师")
    private String samplePerson;

    @TableField("MTL_PERSON")
    @ApiModelProperty(value = "备料员")
    private String mtlPerson;

    @TableField("DEV_PERSON")
    @ApiModelProperty(value = "开发员")
    private String devPerson;

    @TableField("DESIGN_PLAN")
    @ApiModelProperty(value = "纸板计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime designPlan;

    @TableField("DESIGN_ACT")
    @ApiModelProperty(value = "纸板实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime designAct;

    @TableField("MTL_PLAN")
    @ApiModelProperty(value = "材料计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime mtlPlan;

    @TableField("MTL_ACT")
    @ApiModelProperty(value = "材料实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime mtlAct;

    @TableField("CUT_SHORT")
    @ApiModelProperty(value = "裁剪配套欠数")
    private BigDecimal cutShort;

    @TableField("CUT_PLAN")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "裁剪配套计划")
    private LocalDateTime cutPlan;

    @TableField("CUT_ACT")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "裁剪配套实际")
    private LocalDateTime cutAct;

    @TableField("PRINT_SHORT")
    @ApiModelProperty(value = "工艺加工欠数")
    private BigDecimal printShort;

    @TableField("PRINT_PLAN")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "工艺加工计划")
    private LocalDateTime printPlan;

    @TableField("PRINT_ACT")
    @ApiModelProperty(value = "工艺加工实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime printAct;

    @TableField("EMB_SHORT")
    @ApiModelProperty(value = "大底厂商欠数")
    private BigDecimal embShort;

    @TableField("EMB_PLAN")
    @ApiModelProperty(value = "大底厂商计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime embPlan;

    @TableField("EMB_ACT")
    @ApiModelProperty(value = "大底厂商实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime embAct;

    @TableField("HF_SHORT")
    @ApiModelProperty(value = "面衬欠数")
    private BigDecimal hfShort;

    @TableField("HF_PLAN")
    @ApiModelProperty(value = "面衬计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime hfPlan;

    @TableField("HF_ACT")
    @ApiModelProperty(value = "面衬实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime hfAct;

    @TableField("STITCH_SHORT")
    @ApiModelProperty(value = "针车欠数")
    private BigDecimal stitchShort;

    @TableField("STITCH_PLAN")
    @ApiModelProperty(value = "针车计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime stitchPlan;

    @TableField("STITCH_ACT")
    @ApiModelProperty(value = "针车实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime stitchAct;

    @TableField("LAST_SHORT")
    @ApiModelProperty(value = "成型欠数")
    private BigDecimal lastShort;

    @TableField("LAST_PLAN")
    @ApiModelProperty(value = "成型计划")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime lastPlan;

    @TableField("LAST_ACT")
    @ApiModelProperty(value = "成型实际")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime lastAct;
}
